/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.businessgoldstream.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.anny.businessgoldstream.entity.AnnyBusinessgoldStream;
import com.jeeplus.modules.anny.businessgoldstream.mapper.AnnyBusinessgoldStreamMapper;

/**
 * 创业金流水表Service
 * @author linzx
 * @version 2018-10-17
 */
@Service
@Transactional(readOnly = true)
public class AnnyBusinessgoldStreamService extends CrudService<AnnyBusinessgoldStreamMapper, AnnyBusinessgoldStream> {
	@Autowired
	private  AnnyBusinessgoldStreamMapper annyBusinessgoldStreamMapper;

	public AnnyBusinessgoldStream get(String id) {
		return super.get(id);
	}
	
	public List<AnnyBusinessgoldStream> findList(AnnyBusinessgoldStream annyBusinessgoldStream) {
		return super.findList(annyBusinessgoldStream);
	}
	
	public Page<AnnyBusinessgoldStream> findPage(Page<AnnyBusinessgoldStream> page, AnnyBusinessgoldStream annyBusinessgoldStream) {
		return super.findPage(page, annyBusinessgoldStream);
	}
	
	@Transactional(readOnly = false)
	public void save(AnnyBusinessgoldStream annyBusinessgoldStream) {
		super.save(annyBusinessgoldStream);
	}
	
	@Transactional(readOnly = false)
	public void delete(AnnyBusinessgoldStream annyBusinessgoldStream) {
		super.delete(annyBusinessgoldStream);
	}

	@Transactional(readOnly = false)
	public List<AnnyBusinessgoldStream> selectAccountId(String accountId){
	return 	annyBusinessgoldStreamMapper.selectAccountId(accountId);
	}
	
}